﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace RptAllInOne.usercontrol
{
    public partial class CondtionGroup : UserControl
    {
        //public event EventHandler 
        public CondtionGroup()
        {
            InitializeComponent();
        }

        private void CondtionGroup_Load(object sender, EventArgs e)
        {

        }

        public void initComponents()
        {
            this.Width = (int)(Screen.PrimaryScreen.WorkingArea.Width / 10) * 8;
            this.Height = (int)(Screen.PrimaryScreen.WorkingArea.Height  / 4) * 3;
            this.Left = (int)(Screen.PrimaryScreen.WorkingArea.Width -this.Width  / 2) ;
            this.Left = (int)(Screen.PrimaryScreen.WorkingArea.Height  - this.Height  / 2);

        }
    }
}
